package ua.com.shootgameserver.protocol;

import java.nio.ByteBuffer;

public class DataImpl implements Data {
	private ByteBuffer dataLength = ByteBuffer.allocate(4);
	private ByteBuffer data = ByteBuffer.allocate(2048);
	
	public ByteBuffer getDataLength() {
		return dataLength;
	}
	public void setDataLength(ByteBuffer dataLength) {
		this.dataLength = dataLength;
	}
	public ByteBuffer getData() {
		return data;
	}
	public void setData(ByteBuffer data) {
		this.data = data;
	}
}
